package com.biShe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小刘
 * @since 2023-05-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="WechatUser对象", description="")
public class WechatUser implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "uId", type = IdType.AUTO)
    private Integer uid;

    @ApiModelProperty(value = "小程序Openid")
    @TableField("openId")
    private String openid;

    @ApiModelProperty(value = "用户电话")
    @TableField("mobilePhone")
    private String mobilephone;

    @ApiModelProperty(value = "用户名")
    private String nickname;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "生日")
    private String birthday;

    @ApiModelProperty(value = "注册时间")
    @TableField("registerTime")
    private String registertime;

    @ApiModelProperty(value = "最近一次消费时间")
    private String recency;

    @ApiModelProperty(value = "消费频率")
    private Integer frequency;

    @ApiModelProperty(value = "消费总金额")
    @TableField("Monetary")
    private Float monetary;


}
